public class Homework {
}
 class HasStatic {// 1
    private static int x = 100;// 2
    public static void main(String args[]) {// 3
        HasStatic hsl = new HasStatic();// 4
        hsl.x++;// 5
        HasStatic hs2 = new HasStatic();// 6
        hs2.x++;// 7
        hsl = new HasStatic();// 8
        hsl.x++;// 9
        HasStatic.x--;// 10
        System.out.println(" x=" + x);// 11
    }
}
class Pvf {
    static boolean Paddy;

    public static void main2(String args[]){
        System.out.println(Paddy);
    }
}
class Test {
    public int aMethod(){
//        static int i = 0;//静态成员变量的控制权不应该在成员方法中
        int i = 0;
        i++;
        return i;
    }
    public static void main1(String args[]){
        Test test = new Test();
        test.aMethod();
        int j = test.aMethod();
        System.out.println(j);
    }
}
